package com.hejjon.enumer;

import lombok.Getter;

/**
 * 比较操作枚举
 */
@Getter
public enum CompareOperatorEnum {

    EQ("eq", "=", "等于"),

    GT("gt", ">", "大于"),

    LT("lt", "<", "小于"),

    GTEQ("gteq", ">=", "大于等于"),

    LTEQ("lteq", "<=", "小于等于"),

    BETWEEN("between", "between", "范围"),

    IN("in", "in", "包含"),

    NOT_IN("notin", "notin", "不包含")

    ;

    private final String code;

    private final String symbol;

    private final String desc;

    CompareOperatorEnum(String code, String symbol, String desc) {
        this.code = code;
        this.symbol = symbol;
        this.desc = desc;
    }
}
